//
//  FZCookieManager.h
//  FZHybrid
//
//  Created by zzc483 on 2019/1/29.
//  Copyright © 2019年 qiufeng. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "FZScriptMessageHandlerProtocol.h"

@protocol FZCookieProtocol <FZScriptMessageHandlerProtocol>

- (void)setCookie:(NSString *)name value:(id)value;
- (void)getCookie:(NSString *)name completion:(void(^)(id))completion;
- (void)syncCookies:(id)cookies completion:(void(^)(id))completion;
- (void)removeCookie:(NSString *)name;

@end

NS_ASSUME_NONNULL_BEGIN

@interface FZCookieManager : NSObject <FZCookieProtocol>

@end

NS_ASSUME_NONNULL_END
